package com.shihan.redis.springboot.demo.enums;

/**
 * @Description
 * @Author shihan
 * @Date 2021/1/23 21:27
 * @Version 1.0
 */
public enum OrderStatusEnum {
    ORDER_UN_PAY(0),
    ORDER_PAYED(1),
    ORDER_ABORTED(2);

    private Integer value;

    private OrderStatusEnum(Integer value){
        this.value = value;
    }

    public Integer getValue() {
        return value;
    }
}
